It is deprecated use Clutter.Actor instead.
https://bugzilla.gnome.org/show_bug.cgi?id=694441
// multiple times due to an accidental jitter.
this._entered = false;
- this.actor = new Clutter.Group({ name: 'hot-corner-environs',
+ this.actor = new Clutter.Actor({ name: 'hot-corner-environs',
width: 3,
height: 3,
reactive: true });
reactive: true });
this._corner._delegate = this;
- this.actor.add_actor(this._corner);
+ this.actor.add_child(this._corner);
if (Clutter.get_default_text_direction() == Clutter.TextDirection.RTL) {
this._corner.set_position(this.actor.width - this._corner.width, 0);
let stack = new Shell.Stack();
this._backgroundBin.child = stack;
- this._eventBlocker = new Clutter.Group({ reactive: true });
+ this._eventBlocker = new Clutter.Actor({ reactive: true });
stack.add_actor(this._eventBlocker);
stack.add_actor(this.dialogLayout);
} else {
let child = children[i];
let childBox = new Clutter.ActorBox();
// The order of the labels here is arbitrary, except
- // we know the "real" label is at the end because Clutter.Group
+ // we know the "real" label is at the end because Clutter.Actor
// sorts by Z order
switch (i) {
case 0: // top
let switchData = {};
this._switchData = switchData;
- switchData.inGroup = new Clutter.Group();
- switchData.outGroup = new Clutter.Group();
- switchData.movingWindowBin = new Clutter.Group();
+ switchData.inGroup = new Clutter.Actor();
+ switchData.outGroup = new Clutter.Actor();
+ switchData.movingWindowBin = new Clutter.Actor();
switchData.windows = [];
let wgroup = global.window_group;
// The MetaShapedTexture that we clone has a size that includes
// the invisible border; this is inconvenient; rather than trying
- // to compensate all over the place we insert a ClutterGroup into
+ // to compensate all over the place we insert a ClutterActor into
// the hierarchy that is sized to only the visible portion.
- this.actor = new Clutter.Group({ reactive: true,
+ this.actor = new Clutter.Actor({ reactive: true,
x: this.origX,
y: this.origY,
width: outerRect.width,
height: outerRect.height });
- this.actor.add_actor(this._windowClone);
+ this.actor.add_child(this._windowClone);
this.actor._delegate = this;
this.monitorIndex = monitorIndex;
this._monitor = Main.layoutManager.monitors[this.monitorIndex];
- this._windowOverlaysGroup = new Clutter.Group();
+ this._windowOverlaysGroup = new Clutter.Actor();
// Without this the drop area will be overlapped.
this._windowOverlaysGroup.set_size(0, 0);
style_class: 'workspace-thumbnail' });
this.actor._delegate = this;
- this._contents = new Clutter.Group();
- this.actor.add_actor(this._contents);
+ this._contents = new Clutter.Actor();
+ this.actor.add_child(this._contents);
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));